def get_full_intent(intent_json):
  """recovers the full intent json from standalized intent.

  Basically we will add fields that are omitted becauase their values are
  all or 2 back to the intent json.
  """
  # dep/ret time
  if 'departure_time' not in intent_json:
    intent_json['departure_time'] = 'all'
  if 'return_time' not in intent_json:
    intent_json['return_time'] = 'all'
  # class
  if 'class' not in intent_json:
    intent_json['class'] = 'all'
  # max_connections
  if 'max_connections' not in intent_json:
    intent_json['max_connections'] = 2
  # airline_preference
  if 'airline_preference' not in intent_json:
    intent_json['airline_preference'] = 'all'
  return intent_json