When caching array responses, use only attributes for key