Added JSON response
Updated the model