<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_fw_dev_map(self, fw_id):
 """Return the object dict and mgmt ip for a firewall. """

        for cnt in self.res:
            if fw_id in self.res.get(cnt).get('fw_id_lst'):
                return self.res[cnt].get('obj_dict'), (
                    self.res[cnt].get('mgmt_ip'))
        return None, None