jquery and json working between perl on server and knockoutjs on browswer