accept headers updated for json posts