CORS communication now seems to work, we now have to solve ElasticSearch serialization issues