Add json emitter of an rcl object.
Fix rcl test suite and parser.