Fixed json not being stingified