Refactor of registration request, moved JSON processing out of domain and into adapter