beginning transformation of get_client_data to json