Updated handler to take utf8 via the new marshalling code