List serialization is now in a helper function
Add list serialization tests
Validate argument type