Fix for #183

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