spec: metadata section and foundational constraints on json