mongodb backed simple key value endpoint