Convert JSON to YAML from the command line

made by peter, submitted by nicholasbs
An easy one-liner for converting between JSON and YAML.