cleaning types and passing full request in on parsed callback