Refactor RestController to use the same response object during the request / added serialize and deserialize methods to catch exceptions from jms_serializer