adding a api to return parsed map<fieldName, fieldValue>