fix for NSNull crashes see #22

add nsdictionary category