Former care home in Ripon to be converted