Converts a GoFigr data object into R primitives that can be converted to JSON, performing base64 encoding of binary data.
Useful links