JsonML, in Ruby

Simply.

Example

require 'jsonml'
JsonML.toHtmlText([ 'html', ['body', { class: "small" }, 'Hello World' ]])