Move more into WP_JSON_User_Resource

I think we should create a compatibility function before we scatter the `if` statement everywhere.