Fix files=nil -> files=[] in API response for empty collection.