Test and fix for the #to_attrs method of Sawyer::Resource

If a Resource has an attribute that is an Array of Resources, calling #to_attrs would not recursively call #to_attrs on the elements of the Array. Thus, the returned Hash would also include an Array of Resources instead of an Array of Hashes.