ceph-volume: Try to cast OSD metadata to int while scanning directory #19477
Well, it's a puristic thing from me as well. You never know if there is somebody who wants to parse that JSON files in it's own tooling and would then have to cast everything again.
By making sure we write a properly typed JSON file we catch those cases already.
It's just me, when something is a Int, store it as a int.