Allow empty json files to be merged into a config, fixes #3055