Lab exercise 12. Use entity representations to pass around REST resources. (Update for XML attribute)