Completed incomplete (and syntax error-ing) serialization method for the Account model.