I\'m trying to extract some metric data from NewRelic using NerdGraph API. It works perfectly while using curl, but I\'m having problems with calling it from groovy/java cli