Replace tire gem with elasticsearch-model