tracking in idashboard should only log json-serializable objects

This PR fixes an error in the instructor dashboard, in which users are getting an exception when adding staff.  The error is caused by `track.views.server_track` trying to log a non JSON-serializable object, eg instance of User.

Error found and logged by Joe Martis.