Do not choke on json-non-serializable classes