The BDK itself doesn't assist with parsing/authoring of styles within messages - it supports receiving and sending the raw format to and from the REST APIs.
We don't recommend programatically trying to parse dynamic styles unless you're confident that the styles confirm to a number of expected formats. you also shouldn't directly re-send message content received on the datafeed back onto a new message as those formats differ (PresentationML vs MessageML).
The preferred approach is either removing formatting for parsing (to determine intent) or fixing the expected format. e.g. if it's an excel table, perhaps inform the user of the expected row/column layout first.