Converts YAML to JSON