On flow object processing, xml serialization throught method to_xml