build: add targets for json api files