code: def parse_sentinel_masters(response):
      result = {}
      for item in response:
          state = parse_sentinel_state(map(str_if_bytes, item))
          result[state["name"]] = state
      return result
  
imports: import datetime
  from redis.utils import str_if_bytes
label_desc: Use image node_id 8 for calling a global function with example usage: parse_sentinel_masters(response) and returns: result