Bug Fix: Throwing JsonSerializer was throwing NPE when serializing a map. Added fix and unit test to prove the fix.