fix payload keys

A few changes left out from PR #2854

prevented pager or set_next_input (%load) from working in the notebook.