The functionality in `JSONMLParserConfiguration` is a subset of `XMLParserConfiguration`. Find a way to unify them in a class hierarchy.