fix: use .items instead of __dict__ for denormalize