fixed response type so jquery recognizes it as JSON