use RJSONIO for all parsing, avoid jsonlite dependency