Updated with user representations plus json and xml marshalling.