Refactor: Remove code duplication inside constructor
Add JSON format API, step 1: Format class & default
Add test for default format
Extract array and object formatting to make subclassing easier
Add dense and default formats
Add WrappedFormat