JSON generator for RDoc