Key-value-oriented document database