Serializers for the most of core MiLib objects.