lua.box3d.body.info
info = body:info()
This returns the def table used to create the body along with as much updated information as we have available, mostly intended as a debugging aid.
This is the actual def table (some values are hard to query later) so if you edit it or if you create this object using a non unique def table things can get strange.