if there is an error getting data from a service, still continue to create JSON data