Got rid of broken Elasticsearch endpoint and finished the move to case classes.