JSON in Scala (deprecated)