JSON5 support, README update, and refactoring