updated parser to pull out data type and data value into dict