fix - where query casting now works (broken in last commit)
id, created_at, edited_at now stripped from json during db row validation