changed json library in time sensor