Android: Fix cast Ruby values to java