Refactoring the startups_controller to respond to JSON