- added unwrap support to toJSON
 - added all properties support to getProperties