Remove isNullable
Fix tests
Database.Persist.Types.Base
ToJSON/FromJSON for Entity