jsconnect: always provide a role key, even if it ends up being blank.