* metadata format now uses arrays as bags instead of objects (simplifies template scripting without any drawbacks)
* added tag `namespace` (similar to a class, but a bag of stuff without need to call new Ctor())
* added option `sortChildren`, true by default