There's a function to do the second check: `aria.utils.Json.isMetadata()`. However I've been encountering this exact situation so frequently in app development that I've created a custom function `hasOwnNonMeta(obj, key)`, which I think we can perhaps put somewhere in utils :)