It would be nice if objectToResponse returns something instead of changing response...