change from xml to json for config table - also include the version