Moved JSON serializing to ResponseSerializer class
Refactored ResponseSerializer