pretty-json converted to function
Now this works: pretty-json ' { "foo":"bar" } '
Bug fix: pretty-json
All theese works:
pretty-json '{ "foo":"bar" }'
echo '{ "foo":"bar" }' | pretty-json