Move json types to api_client/json.go