Structure and dynamics of the plasma armature of railgun macroparticle accelerators