fix test behavior related to json breaking changes. bugfix dbag edit