replaced JSON_GETITEM_TEXT with JGET and JSON_GETITEM, let's not convert to text
let's cast as jsonb before my eyes twitch
handle the id column in fields
optimize raw_find_one and __contains__ a bit