better error reporting on failed json de/serialization