clean node/fs/json client create pattern