Java Arrays Adding Elements To Python Dictionary