Let any class response type be passed to the serializer