Merge pull request #222 from hdietze/version4

Version4
fix #223 Preserve backward compatibility for ontology document format