silly var renaming
error handling goes to jsonops.py