public void marshal(Object source, HierarchicalStreamWriter writer,
MarshallingContext context) {
Quota quota = (Quota) source;
BigInteger bytes = quota.getBytes();
StorageUnit unit = StorageUnit.bestFit(bytes);
BigDecimal value = unit.fromBytes(bytes);
writer.startNode("value");
writer.setValue(value.toString());
writer.endNode();