Throw an exception instead of silently dying
Fix off-by-one error that prevented parsing of {"\"\""}