Extracted code samples from some Scala JSON docs