ktest: Change initialization of defaults hash to perl format