Changed from list to map representation

Events are now referenced to by their year in a map rather than a
list.

JSON is now sorted by key and has no ident to reduce file size
and the amount of bugs when loading it in Javascript.