Make Record castable to dict.