a json parser like json2, just for learing javascript