Serialize R objects to JSON, JavaScript Object Notation