SQL query that returns a JSON of storm events