Changed roster internal storage model and contacts output format