def health(self):
        """Health check method, returns the up-time of the device."""
        return json.dumps(dict(uptime='{:.3f}s'
                               .format((time.time() - self._start_time))))