fix dictionaryFromJsonString typo.
add category methods for easier use.