Fix license info in search response [WEB-1353]
Fix license info in search response [WEB-1353]

The resources array wasn't being read properly. Additionally, it
should now show the highest priority license regardless of the order
in which resources were listed in the request.

art-institute-of-chicago/data-aggregator,art-institute-of-chicago/data-aggregator,art-institute-of-chicago/data-aggregator