catching toJSON error and restarting with next
removing the log_user name
Merge pull request #4 from zacharym/master

catching toJSON error and restarting with next