fixes #5676 if a toMap fails logg it and continue

Conflicts:
	src/com/dotcms/content/elasticsearch/business/ESMappingAPIImpl.java