bugfix: ast is not converting returned data, bugfix: fix datetime object format saved to the db