Creates a way to load a ServiceDefinition from a JSON file.