Refactor to prepare config data in index
Use clean metadata at the form, fieldlist, and field level