added options for xml_serializer