Fix elasticsearch mapper errors

Upgrading to a recent version on mongoose seems to have caused issues
when indexing dates in elastic search so downgrade to a known working
version as an interim measure while working out how to fix the problem