JSON configuration files for node, simplified to one function