improve getPanelConfig and getFieldConfig to use labelSeparator