Dont add cors or peers keys if array is empty.
Check that the default param values create the correct config files,
using fixtures for the default config file output.