JSON and CSV: shape, rules, and safe conversion.
The shape of JSON, how it maps to language types, and the easy mistakes that produce invalid JSON.
When a flat table beats nested documents, and how to convert between them safely.