use json as storage