Store JSON in data attribute