Fix reference configuration

Add/remove some commas to make it valid JSON, add a few keys that were
missing