Add raw_result option, revert change to REST API

Raw results may be useful sometimes, why not just give it as an option.