fixing RESTService
LAC-85: Adding XML import export functionality