Adds support for sending raw data back for ajax