The inverse problem for collisionless plasma equilibria