I'd tend to think the beetle would have a worse chitin to protein ratio. Not to mention tougher to digest. Pupae should be about the same as the worm itself getting progressively worse nearing maturity.
Cool! I'm glad there was something useful there for ya. Was that based on different organs eg; antennae? Hmm. Interesting. Will your animals eat them? Have you considered roaches?