this is a util to java for json