Converts a themeParameters object to corresponding JSON-serialized string. Can be called synchronously
Theme parameters to convert to JSON