Issue #4 : Reformatted Events for REST API. Todo: caching.

Signed-off-by: Ah-Lun Tang <tang@ahlun.be>