- Added timestamp to recorded state (can be used for cleanup later)
- format -> output_format (to avoid shadowing the built-in format)