created json db for prompt and photo