Fixing error with invalid field in webservice reponse