add strip corrupt json body to mod_git.