fixed hover events not being added to the JSON string