Added output_objects option for recording

The “output_objects” option forces recorder to output objects instead
of strings (see README for details)
Fixed the missing port from recorder output
Added tests for output_objects option