(CFACT-20) Implement JSON output.

Implementing JSON output of facts.
Implementing map_value to support complex fact values.
Implementing integer_value to support integer types in JSON output.
Fixing output of existing integer types.
Normalizing fact names taken on the command line.