Fix JSON parsing of boxed/unboxed.