- JSON method for string