Add json to oxview

This pull request adds a --json argument to oxview to print events in JSON format.