todo/check - what is JSON and YAML returning Parser/ParseError something else?
YAML uses ParseError and JSON uses ParserError