use data.json as database