starting first conversion to REST structure