ENH: Validate first and second layer of keys in custom field