Tranfer json to java obj