Trait for Eloquent models to force type-casting on retrieved values