readAttributes will return array if data is empty