JSON API server base in Go