Improve config editor

This will improve our config file editor, permitting the addition and removal of array fields.
It still looks a little rough, but it should work :wink: 
Please note that it does not recurse (yet), so only the combinations of objects and arrays used in our configuration are covered.