Allow registration over JSON API