add ignore for json_encode warnings