Support json return values for sessions controller