Add a __struct__ field on defstruct and ensure proper message on struct body access