switched to using Guzzles json decoding