Parsers: don't use the internal API.
MacroJsonProtocol: improve error handling.