now JSON output ( or any other format ) is possible via 'raw' method