Added new method to return deserialize data from string