++test for json tree with custom fields