Fix memory leak

Fixes a leak where the created mutable dictionary is not bridged by ARC and as a result leaks a dictionary