converted object back to array