Don't save model config as attributes

Model configuration is stored separately from the model definition and
not embedded in the definition using weird looking JSON keys with dots
or commas.

Reported in #707