use .to_json instead of .metadata
move citation group serialization into class
create Serializer mixins for loading from & writing JSON
Merge pull request #32 from ploslabs/feature/rework_json

Feature/rework json