Object extend function designed for config files.