Implement ArrayAccess interface for conveniently accessing rcube_result_set as array
Support structured data for autocompletion results; map 'type' attribute to CSS class for autocomplete list items