json_decode issue fix