code: def _handle_bytes(o):
      for k, v in o.items():
          if isinstance(v, bytes):
              o[k] = str(fou.deserialize_numpy_array(v).shape)
          elif isinstance(v, dict):
              o[k] = _handle_bytes(v)
  
      return o
  
file_path: fiftyone/fiftyone/core/json.py
imports: import dataclasses
  from datetime import date, datetime
  import math
  from bson import ObjectId
  import numpy
  import fiftyone.core.utils
label_desc: Use image node_id 1 for calling a global function with example usage: _handle_bytes(o) and returns: o