Transforming arm-level data to contrast-based summary statistics and making objects for network meta-analysis