An ETL step flattens nested JSON objects into dotted key paths for a columnar
store. Nested objects recurse; every other value (scalars, arrays, null,
and EMPTY objects) is a leaf.
Serialize each leaf value as compact JSON (json.dumps with
separators=(',', ':') — no spaces; strings keep their quotes; true/false/null
in JSON form).
Input Format:
The entire stdin is one JSON object.
Output Format:
One line per leaf: "<path>=<serialized value>"
Sorted by path ascending.