Move pycon filter to pexp.py so can better specify save-vars-to-json-command.