rewrite Catmandu::Serializer