Set content type for users and groups json views

This allows us to enable the profile middleware.