Remove json_type enum trailing comma

Request to remove a trailing comma from the `json_type` enum declaration to avoid errors for applications that must build with the `-pedantic` compiler flag. Also updates documentation that was cut-and-pasted from the enum declaration.