ISSUE #14: Added Raw text to the JSON response

Added raw text to the JSON response under key 'raw'
Updated functional test
Merge branch 'issue-14' into dev - Fixed #14