Remove extra commas and stuff

Remove extra commas in the last element of arrays, and other general markup irrelevant stuff
Merge pull request #5 from nostrumg/patch-2

Remove extra commas and stuff, merge from @nostrumg.