Tools to build a mongomapper model that stores and executes complex elasticsearch queries