Modifies packages name from rest to api