-collect converts nil -> NSNull, -toArray returns nil on error