Import ESPError in jsondatamodule

As missing imports go, this one was relatively harmless... we should fix it anyway.