A simple command line wrapper for curl that returns JSON