Fixed JSON parsing behavior in FF/Chrome.