Call the transformer before returning data