Fix reference configuration

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