chore: check attributes property instead of body for metadata