rename getPeerConnectionsStats and change candidateTypeMapping