Sails/waterline adapter for elasticsearch