Config: Allow comments in JSON configuration files (fixes #492)