nit: I have no idea how important for performances it is, but may be we should only pretty print the manifest in debug mode?