First implementation of getStyleInfo

getStyleInfo returns a simplified JSON format to make it easier to convert to CSS
Please add JSDoc for this function, since it is exported. Also, please add an underscore to the _exported_ function name (up to you if you change the function name here).

Please add the usual comment about the function being experimental.