text to json text formatter