Remove bogus error handlers

They just swallowed excepetions, mostly

Change-Id: I842904db1bd5b0b691569044c4401f443e457a0f
Add missing json import

Change-Id: I5438116e359b847e0319c2b3ee38c4a63aa8eafb