removing root elements for serializers