updated get_children function to return children as TimberPosts