improve JSON performance