Add naive Json.to_string_hum which adds more newlines for human-readable output.

Also expose the `to_buffer` functions while we're here.
This could be much improved...
Closes #7