Fixup for string callback
Fixup for end_map
Fix for deserialize() callback

Don't check whether we are ready here. The parser stops when we are
ready and we can simply do the cleanup here.