First version of the Json logger