Fix toXContent in the All Mapper

See #4579  #4581 #4582