added a OutputConverter.java with Tests
Fixed issue with wrong converted values by using newly added OutputConverter.