Added dbTable field to JSON string, added more comments to code.