Removing trailing commas to avoid confusion

I noticed that in the README documentation example code, there were some unnecessary trailing commas. I removed them so that people won't be confused.