small manifest refactor so we use map instead of each