Added doc to write, generic object name, moved utility function from default
Moved function out of default class mod
New module, functions for write
Add writeJson test