support cookie, pyjson sort
fix bug: seq is wrong