Small fixes in the `text/json` convenience module.

The generic type parameters are not necessary since there is no generic
type.

Also, stupidness.