create meta data object for text field