added correct json and xml headers