Generates changesets of javascript objects