Adding a feature to read all keys and their respective values (Java side).