MongoDB generic REST server in Go