Object-document mapper and lightweight API adapter for ElasticSearch