JSON and database – does that make a good cocktail?