move tmp to build and include json