added events and meta as roots in events api endpoint. fixed #65