The benefit of using oxalic acid for cleaning, apparently, was discovered as part of the process of cooking rhubarb:
https://barkeepersfriend.com/oxalic-acid-magic-of-bkf/