added content-type, fixed json, ...