httparty to consume json api