Rest reporter

Can you review this older code @ecordell, i would like merge them.