mon/osd misc fixes

NOTE: Haven't tested the branch to make sure that everything works correctly.

most of the patches in this branch are meant to get values outputted in an appropriate json type instead of strings or some other type that isn't as appropriate.

There's also a couple of patches that rework Monitor::tick() (just because).

Reviews are welcome.