now loads events from JSON as well