I am having an ArrayList which contains an object. for better understanding, I created this class as JSON pretty print. How can I use java-stream to create a new ArrayList s