json interface for contacts