adds api controllers/json views