def get_normal_form(obj_name, title=True):
  """Replaces underscores with spaces.

  Transforms to title form if title is True.
  (product_groups -> Product Groups).
  """
  obj_name_wo_spaces = obj_name.replace("_", " ")
  return obj_name_wo_spaces.title() if title else obj_name_wo_spaces