JSONwriter was not correct for quoted strings