Add content-type json to post and delete methods