Fix invalid membership payload JSON