code: def _remove_complex_types(dictionary):
      '''
      Linode-python is now returning some complex types that
      are not serializable by msgpack.  Kill those.
      '''
      for k, v in six.iteritems(dictionary):
          if isinstance(v, dict):
              dictionary[k] = _remove_complex_types(v)
          elif hasattr(v, 'to_eng_string'):
              dictionary[k] = v.to_eng_string()
  
      return dictionarf _remove_complex_types(dictionary):
      '''
      Linode-python is now returning some complex types that
      are not serializable by msgpack.  Kill those.
      '''
      for k, v in six.iteritems(dictionary):
          if isinstance(v, dict):
              dictionary[k] = _remove_complex_types(v)
          elif hasattr(v, 'to_eng_string'):
              dictionary[k] = v.to_eng_string()
  
      return dictionary
docs: Linode-python is now returning some complex types that
      are not serializable by msgpack.  Kill those.