Coverted testobject to object instead of hashtable