convert csv uploads to json and modify headers on client for easier uploads