@GET
@Path("/books/mapped.html")
@Produces("text/html")
public String getBooksMappedText() throws Exception
{
BookListing listing = getListing();
JettisonMappedContext context = new JettisonMappedContext(BookListing.class);
StringWriter writer = new StringWriter();
Marshaller marshaller = context.createMarshaller();
marshaller.marshal(listing, writer);
return writer.toString();