QueryParser the new JsonParser does not have a ObjectCodec any more.

Just passing the existing ObjectCodec into the traverse() method solves the problem.