Changes to use version 2 of go-json-rest