unified handling of SF- and MFNodes in JSON test for consistency