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
I assumed that was intentional because of the fairly specific handling of only `config.public` and `config.dataSource`. Do you want me to change that behaviour?