Why sanitize it? I think it could have gone farther into R territory
If I was to make it a PG film, I think if you got rid of much of the violence in the film and replaced it with another crime, it would fit what you’re asking but it would lose it potency and the overall message of the film would be weaker and less memorable
I think the only way to make it work in a “kid-friendly” way would be to make it a parody with writing a la the Lego games, where it keeps the spirit but does some sort of absurd replacement of the violence with a goofy prop or something