route53: refactor helper