expose coercing bug for JSON parser

I modified the JSON tests to expose a problem with the JSON parsing.