fixes #429, which is yet yet another WAT of RJSONIO

perhaps we really should consider switching to jsonlite...
\emph cannot be used in \code{}: only \var and \link are allowed