Guard against non-json responses -> make sure to still return something useful in the error message when this happens.
Guard against non-json responses -> make sure to still return something useful in the error message when this happens.

chrishic/nforce