First implementation of getStyleInfo

getStyleInfo returns a simplified JSON format to make it easier to convert to CSS
Should be `@return` not `@returns`