Use ordered dictionaries in convert_settings so that the generated
JSON object is defined in a consistent order (easier to read and
to see changes).