Serialize results to database (to be refactored)
Refactored table inserts
Parsing the result dictionary recursively