#!/usr/bin/env python

from yaml import load
from json import dumps

with open('/etc/domain.yml') as file:
  print(dumps(load(file)))