Make error system use new input classes.
Now json uses the new input output classes.