Few bug fixes in ceph-brag

Fixed a bug in the way crush_types object was generated.