more work toward json api, get api creation of matches working, start working on update