add model serialisation to json and model tests
Merge branch 'master' of github.com:CottageLabs/IsItOpenAccess