One of the components of Docchi

This is directly derived from json5-rs.