fix: prov model now included in nipype
fix: pass all tests refactored safe_encode to it's own function