add api service to  json