Adding decodeAsDictionary function

Sometimes it can be convenient to have the value return in a dictionary rather than an Object (especially when it comes to multilingue files)