func jsonModule(ctx *web.Context) { // Lets set the response content type while // we are here ctx.ContentType("json") }