For #6 fixed a few bugs with writing expanded collections across all json writers