Made a start on Json support for saving themes.