JSON: Fix Tests and add Trailing Commas Test