allow for jquery automatically converting data to JSON