JSON working in a more efficient way.  Started XML function