First implementation of getStyleInfo

getStyleInfo returns a simplified JSON format to make it easier to convert to CSS
fixed in 0d7e24d9bf8a74fc0b9b5305b0d6cc3e095d313a