added convertto-flatobject