Fixes #11 that crashed app if logging solely a number. The json parser would then return a number type. Now checking if its really NSDictionary before checking the dict size