Tweaked the json rule - json can have an object or array as the constructor name