Converts an Iterable of Circles in a Map of CircleId -> Circle.
Map<CircleId, Circle> keyByCircleId(Iterable<Circle> circles) { return keyByMapsObjectId<Circle>(circles).cast<CircleId, Circle>(); }