parse javascript obj. to json for jqgrid_on_load_complete