Persistance wrapper for NoSQL databases