Fix for JSON in R speedrf