relations and metrics json