This is directly derived from json5-rs.

This is based on json5, and added some functionalities to implement dochy_core.