A json middleware for Go.