Fixed bug in download introduced by addeing facets to returned result set from elastic search as a hash instead of array