Utility for converting YAML to JSON (and vice-versa).

This utility will be used to convert a yaml file to JSON, before being entered as a JSON document in noSQL databases (i.e. mongodb). To test on your own .yaml files, you can run the following:

python pylearn2/config/yaml_convert.py experiment.yaml

This will generate a test.json and test.yaml files.