clean up before Sam's review

Mutation-proofing blocks aren't necessary if we write more assertive tests elsewhere. Also, I removed the un-spec'ed json API.