added parseNulFlag argument to Parser::ParseString
implementing template