Added xml and json io examples