Use ElasticSearch as a NoSQL database in Perl