Converting JSON objects to string is fixed

JSON objects use curly braces instead of square brackets (unlike Swift dictionaries)