working on PropertiesToObject class