Apply DRY on the computation of the event properties

Gijs Hendriksen
2019-05-30T11:15:12+02:00

Closes #82

### Short description
Move the computation of event properties to a separate function, so we don't repeat this code in multiple functions.