Converts between Python dictionaries and JSON to ROS messages.