A text input mask configuration with a list of values.
An extension function to convert configuration class to a JS object.