session-manager: get rid of thrift generation