Lightweight ORM supporting both relational databases and NoSQL stores