Simplified reading+writing of manifest.
Fixing indentation
Merge pull request #8 from duetosymmetry/master

Simplified rewriting manifest