Implementing semantically rich NeXML I/O in R