support registering services by project.json