Store collections and fragments in redux as immutable maps
Currently collections are stored as an array and fragments are stored as an object, which makes lookup confusing.
At least store them both as an object with the id as the key, but ideally as an immutable map.