Add a method to parse the pet source and make it more readable