Added parameter for declaring the main service.
Reshaped the converter to return a result in line with the Open Annotation API.
Fixed buggy signature