Updated processForm to allow the FOSRestBundle View manage the response, and avoind using a response object.