Fixed & externalized json uniquify command