respond to request with raw json on the page