Modifications on the REST interface supporting pathMapper