json encode returned events

Summary:
- reverting a change made in dd5dc6
- events should only be json encoded once

Reviewers: usmanm, marcua

Reviewed By: usmanm

Differential Revision: http://phabricator.locu.com/D2922