Adding guidelines - sending JSON to database functions