json: internal objects (internal_gauge, internal_counter, internal_timer) to_json writers have been added.