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