updating Get.DataAs to return primitive