object_to_string function

Convert R objects to/from strings