added option to parser to parse empty fields as nulls