expose element locations in HTTP API; refs #29