Changed the parameter to a service request
Added new module for JSON serialising