Refactor resource template property hydration.