Harald Armin Massa wrote: >{"id":id, "surename":surename} , but that would be very very >in-elegant. > > > > Are you experiencing a slow down due to using locals() or a significant performance increase by using the above method? If not, why switch away from locals?