storage:util:mapfile: convert YAML settings to JSON.