can init a service (still need json)