converted object properties to hashtable