use ruby standard library net/http for json fetch