Fix swipes to_json()
Merge pull request #54 from mdmoss/master

Fix event and swipe to_json