makde a new API json that will be the format of the API request.