Optimized performance by treating values as objects rather than dynamic