RESTful governance layer for document stores