make parser adapt to other Persistent Collections