reduced complexity of PatchObj#to_s