Are you passing the right thing to
get
? ['value'][0]
gives you the string 'value'
and then you're trying to look up 'tags'
from that, which clearly doesn't make sense.