changes to json dumper