fix to errors in JSON docs