Simple Entity to StdClass Transformation