Nice library! I was wondering how one would go about passing lifecycle methods within the JSON? Thanks!