Fixed schema creation where empty lists were not represented by Any
Fixed last few unicode references for py3 support.