HTTPError made serializable