turn a family structure into some json (simplest case)