allow es _source to be an attr instead of key