scala elastic dsl integration