Improve conversion
improve javadoc
Improve test for raw input representation