base-files: depend on jsonfilter and rewrite network.sh to use it