Support for text or JSON