Added getKeysAndValues() method which returns an associative array of all keys and values.

Added getKeysAndValues() method which returns an associative array of all keys and values.