add json_decode to the sample files