Exposed sensors logs data as JSON, also reworked sensors logs implementation

This version starts to expose Sensors log data as JSON. Internal sensors
logs implementation is also reworked, switching to monthly log files as
opposed to annual.

This checkin also includes several other small changes and
optimizations.