Error handling when obj is nil
casting to NSMutableDicrionary by creating new NSMutableDicrionary object.
"as NSMutableDicrionary" seems not to work for NSDictionary
Merge pull request #16 from grzegorzleszek/master

Error handling in case obj is nil