Possible implementation of WriteJson
Merge branch 'feature/robb/possible' into develop