Not much to say, directly on the code:
Add a :value, and then use JSON.stringify(item) to convert it, so that it will be stored in $attrs.value.
Then use el.$attrs.value in the click event. Note that when you get this value, use JSON.parse(el.$attrs.value) to convert it into an object and use it normally.