convert_to_model_response_object
* fix unhandled jsonDecodeError * add unit testing for convert dict to chat completion