removed unused json stuff