added json dump of UserAttr as userattr.json in client working dir