Define the tweet and user data layout and json parsing logic.