Reverses the internal resolved-atlas representation back to the v2 on-disk shape (atlas_aliases as strings, only whitelisted layers emitted, roof key omitted when nil). Hand-rolled JSON stringifier because the engine exposes no cjson Lua binding and load_json has no symmetric save_json counterpart. Output is byte-deterministic (sorted object keys) and pretty-printed with 2-space indent.
38 KiB
38 KiB