added to_json

Allows to_json to recurse thru DataObject objects. See http://stackoverflow.com/questions/24446978/how-can-i-get-rubys-json-to-follow-object-references-like-pry-pp