object @intent

attributes :id, :intent, :teacher_id

child(:user => :user) {
  attributes :id, :has_stored_credit_card?
}

child(:teacher => :teacher) { |teacher|
  user = teacher.user
  node {
  {
    id: user.id,
    first_name: user.first_name,
    last_name: user.last_name,
    photo_url: user.photo_url,
    name: user.name
  }
  }
}