Fix deserialization after database migrations

because some fields may not exist anymore
Merge pull request #95 from dulaccc/fix-deserialization

Fix deserialization after database migrations