Updated the json processing server side code.