simplifying traj conversion api, adding unit tests for rml