As discussed in web api meeting: Currently we are manually marshalling the eventContext as a json response to user login. Would be nice if omero-marshal could handle this.