Interpret JSON node to JointState for ROS.

The ROS driver uncritically reports all leaf nodes in the state node
as a position.

Karl D. Hansen <kdh@es.aau.dk>