def normalize
import cswap-bend-cli@0.1.0.0/setimp.bend as Setimpimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
319# The document with every known key checked and written the way
320# `config set` / `profile set` would write it. A bad value is the Fail.
321# Unknown keys, sections and profile keys pass through.
322def normalize(+doc: Json.Json) -> Result<&2, &2, String, Json.Json>:
323 top_obj(doc)