Adjust return type for clear_records.
Use static data storage for formatter private data.
Add whitespace between key and value for map.