Simplify coercion of Robot to JSON