938 simplify save ontology

Fixes #938, but we cannot get rid of most of the method's arguments, if we want to keep the code DRY. `save_ontology` is much cleaner than before, though.
I don't really get why, because you just move the comment to the line above.