MODE-2001 Added explicit url encoding in the REST service, whenever item paths are being used to generate links.