Forked from https://bitbucket.org/winebarrel/ruby-jq