Fix ObjectLoader Reference
Serialization - toJSON method should actually return an object
Serialization - properties are stored in the parameters hash
ObjectLoader - fix enumeration of geometries and materials