Serializers and desrializers for the serialization used in the Wikibase Repo data access layer