JSON from io.Reader.

This has been sitting uncomitted here for a while.