What happens with marshalling generic types that aren't lists?