Remove marshaller from helper.c and use a generated one instead