Adds configuration code which uses json