Added generic support for dynamic field config hash. Thanks to Marco Buchholz for recursion help.