[Form] Deleted references in FormBuilder::getFormConfig() to improve performance