Added functionality to deserialize json without root and removing duplicates in testing