Attempting to convert the objects, of various datatypes, found in an RDS file, to a JSON string via java. Both examples below work fine using the R interpreter directly on the