Added example swarm JSON that uses a custom error metric