Import ESPError in jsondatamodule

As missing imports go, this one was relatively harmless... we should fix it anyway.

(recreated because I accidentally merged it earlier which closed the PR automatically)