changes made in json format of response
changes done for nil class