Check that JAMS.parse(JAMS.stringify(x)) does nothing after JAMS.normalize.
JAMS.parse(JAMS.stringify(x))
JAMS.normalize
Check the error messages of some examples of bad input.