allow json body for posts