Have console script take XML instance doc from stdin as well as file
Currently console script takes instance docs either as an argument or in the config file.
JSON test script takes a single file which can be via stdin, which makes it easier for integration with other tools.