more info about file writing and jsondb structure

+ Added info about file writing.
~ changed jsondb structure to just json. no tables/table headers. just
structured json.