Canonicalise object keys.
Handle streamed data on #write.