Do not return warnings in from_json