show that and why command failed instead of json parsing errors

@BrentWheeldon