old_contents: """Generic storage class for a name/data pair extracted from an event"""
  
  def add_record(values, group, name, data, unit=None):
      """Convenience function to add a new Record
      to an existing Records dictionary."""
      if data is not None:
          values[name] = Record(group + " / " + name, data, unit)
      else:
          values[name] = None
      return values[name]
      
  class Record(object):
      """Generic storage class for a name/data pair extracted from an event"""
      def __init__(self, name, data, unit=None):
          self.name = name
          self.data = data
          self.unit = unit
  
new_contents: """Generic storage class for a name/data pair extracted from an event"""
  
  def add_record(values, group, name, data, unit=None):
      """Convenience function to add a new Record
      to an existing Records dictionary."""
      if data is not None:
          values[name] = Record(group + " / " + name, data, unit)
      else:
          values[name] = None
      return values[name]
      
  class Record(object):
      """Generic storage class for a name/data pair extracted from an event"""
      def __init__(self, name, data, unit=None):
          self.name  = name
          self.data  = data
          self.unit  = unit
          self.group = data.split('/')[0]
          self.key   = data.split('/')[1]
  
subject: Add group and key attribute to data records