Update JsonSerializer.scala

Newline removal