import json


def read_symmetry_params(body_part_json):
  """
  Reads from a JSON formatted file the body symmetry parameters.

  Args:
      body_part_json (json): a JSON formatted file specifying the
              body part forming the axis of the symmetry (anchor) and
              the symmetrical body parts around the axis (parts).

  Returns:
      a string and list of strings: anchor, list of parts
  """
  with open(body_part_json) as data_file:
    symmetry_params = json.load(data_file)['symmetry']
    anchor = symmetry_params['anchor']
    parts = symmetry_params['parts']
    return anchor, parts