Djsopnet: use updated API and let front-end create random data