fix kwapi-gen-conf using new version of API