Rest mapping fix

This corrects a bug that was introduced with the sitemap updates. An addition was made to remove quotes around commands, and this actually meant no command was provide in the REST interface if there were not quotes.