added option to include raw text (default false)