rsync: trailing slash
json: removing spaces
json: modifing text processing
build: json builder and stats helper