Javascript Get Unique Values From Json To Object