changed json to string