fix the dump logic to show validators and triggers even if no instances exist