Handled exception when json not provided

Spewing a traceback when there's no input is lame. Now it just prints an error message!