Use juju/macaroon, update dependencies, revert JSONHandler.

JSONHandler needs to match current juju/utils.