change a bug of JsonSerializer.java