Toggle block utils function and json tree fix.