Add logging for JSON deserializer

Targets #493 (partially).