fix bug on the service: GET /metadata/:project/:db/:id