Pass content type when creating transformer