Update JSON example with JsonWriter.

Update the JSON example to use a JsonWriter to write the example JSON file.
Move JSON example to its own package.