updated parser to provide access to fields in addition to id