First implementation of getStyleInfo

getStyleInfo returns a simplified JSON format to make it easier to convert to CSS
Not sure what to do with this one. We're wrapping getDocumentInfo() which sound like it violates your expectation? What exception would you like us to throw?