Fix missing type checking in jsonconfig