added some new util functionality for creating & manipulating JSON objects