Store snippets as plain objects in config

The config merges objects, so objects with custom
classes get turned into plain objects.
Yeah, whoops. Fixed on master.