fix JSON encode window process list