consistent spelling of licence. add reflect.Convert for string types.