Added support for options: fold_nodes. Fold all children arrays and objects