Jersey RestApi:  added support for object click events