Adding a BaseEntity to hold common default fields. Tidying up the schema
further. It all works like a champ.
Tweak schema to map id to name_id. Test data insert doesn't work yet.
Finally got sample data working. Added in JSON support.
Shuffle things about.