Methods

Fixed toArray, toHierarchy and serialize methods, adjusted to support
latest Dragg.js improvements, cleaned up