Json objects are written on stdout if no storage directory is specified