Use explicit casts when dumping config data