Added support for --raw switch. Closes #1.