Improved the performance of findImagesByMetadata by using the elastic search index. keys must match case now, and this needs to be fixed somehow.