instead of inspecting the JSON tags on the struct fields directly, actually run it through JSON marshalling and unmarshalling, then compare those results.