Protect against a possible XSRF attack, and expose schema to REPL
Indexed element getter helper