Fix warnings in libjson.
Fix warning in ugdk_structure.i
Clear depth values too.