Remove `.encode()` calls when updating attachment types config. Refactor loading of config sections.
Remove `.encode()` calls when updating attachment types config. Refactor loading of config sections.

lektor/lektor,lektor/lektor,lektor/lektor,lektor/lektor