Implemented getLogDataAsJson which returns a Json representation of old jam logs, ready to be sent to the server.