add convert functions to SoObject