Log JSON string to console on time change