This function is used to retrieve the hierarchies in a dimension, returns a JSON string object.
dimension.hierarchies(dimension_name)
dimension_name
let hierarchies = dimension.hierarchies("time");