- JSON parser: use enable_if for same-type assignment