Added exception to repository when entity can not be unserialized.
Merge branch 'develop' of github.com:vivoportal/v2 into develop