Remove unneeded isObjectPath checks
Check for json before cson