Returing complete JSON even if shortening a duplicate