Adding elasticsearch mapping