@Path("/orders/{order.id}")
public void get(Order order) {
order = database.getOrder(order.getId());
if (order != null) {
Serializer serializer = result.use(representation()).from(order);
serializer.include("items").include("location");
serializer.include("payment").serialize();
} else {
status.notFound();
}
}