ResourceParser refactor

There is a weird bug with the PayloadParser with the test commented out in test-ResourceParser.cc. Will fix it tomorrow. Please review this in the meanwhile.
My bad. You result is correct.

Maybe this is happening because of trying to maintain consistency in `processDescription` of `SectionProcessor.h`