Remove json from class attribute. Add data-time-config attribute