Made valid YAML-file of .travis.yml
Add toJSON method to DBModel.
Merge branch 'develop' into feature/data-model