halfway through json_decode