Ensure json is built when build is done