Metadata API should examine child serializer if passed parent ListSerializer. Closes #2035.