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, so only the combination of objects and arrays used in our configuration are covered.