Correcting issue with overzealous XML -> JSON parser

Having comments mid-call confused the parser and garbled the data, making the pack fail to start.