Amplitude analysis and the nature of the Zc(3900)