test json-transformed and collatex output of the first doc with whitespace issue fixed