phew -- got json reads and writes workign for model