doing elasticsearch's nosql db more idiomatically, so as to not want to kill myself...