json: Add error handling to `dynamic`.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
neo4j: Use the `json` library.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
json_serialization: Use `to_json` to escape characters.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
nitdoc: Use `to_json` to escape JSON values.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
json: Allow to buffer writings.

Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>