Added basic write support to json and yaml configuration files