helper/schema: detect invalid/unknown keys