Changes api to not use .json, and creates first integration test
Integration test in admin needs running backend server