def deserialize(self, response_json):
response_objects = dict()<EOL>if all((t in response_json for t in ('<STR_LIT>', '<STR_LIT>'))):<EOL><INDENT>response_objects["<STR_LIT>"] = self.object_mapping.object_from_json(<EOL>"<STR_LIT>",<EOL>response_json<EOL>)<EOL><DEDENT>for zenpy_object_name in self.object_mapping.class_mapping:<EOL><INDENT>if zenpy_object_name in response_json:<EOL><INDENT>zenpy_object = self.object_mapping.object_from_json(<EOL>zenpy_object_name,<EOL>response_json[zenpy_object_name]<EOL>)<EOL>response_objects[zenpy_object_name] = zenpy_object<EOL><DEDENT><DEDENT>for key, value in response_json.items():<EOL><INDENT>if isinstance(value, list):<EOL><INDENT>zenpy_object_name = as_singular(key)<EOL>if zenpy_object_name in self.object_mapping.class_mapping:<EOL><INDENT>response_objects[key] = []<EOL>for object_json in response_json[key]:<EOL><INDENT>zenpy_object = self.object_mapping.object_from_json(<EOL>zenpy_object_name,<EOL>object_json<EOL>)<EOL>response_objects[key].append(zenpy_object)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return response_objects<EOL>
Locate and deserialize all objects in the returned JSON.

Return a dict keyed by object_type. If the key is plural, the value will be a list,
if it is singular, the value will be an object of that type.
:param response_json: