saveToFile

inline fun <T> T.saveToFile(path: Path, prettyPrint: Boolean = true): Path