Support for JSON Objects with ending commas

This is a more robust parser. A single changes, which is minimal. Updated readme and added a new test too.