add json view to the registry