Remove erroneous trailing commas