return json dumps on get session