move proper encoding function to class string
Merge branch 'correcting433_ontology_parse_nil_error' into develop