add option to return array of unnamed fields