Fix output of command 'ceph osd tree --format=json'

Two values which were suppose to be part of the osd array were being printed after the osd section was closed which resulted in output like this,

    { "id": 19,
      "name": "osd.19",
      "exists": 1,
      "type": "osd",
      "type_id": 0,
      "status": "up",
      "reweight": "1.000000"},
    "1.000000",
    3,
New output now looks like this,

    { "id": 19,
      "name": "osd.19",
      "exists": 1,
      "type": "osd",
      "type_id": 0,
      "status": "up",
      "reweight": "1.000000",
      "crush_weight": "1.000000",
      "depth": 3},