Convert CharSequence to String in json collections constructors