Dilute Citric acid added to the cleaning solution is a tried and tested method for cleaning brass cases and has been used for years. It was a recommended procedure by the NRA in the USA since about the 1980's.

It won't harm the brass, unlike ammonia based products, in fact it "pacifies" the brass and helps to limit any further corrosion.