Use python idioms (list compehensions, dict.get, dict.update)
Using itertools chain to keep the images endpoint a flat list
Adding authors file