Update: handle generic fields of generic types in PLY

This is to solve for reading/writing any type scalar or list field.