Fix - avoid JSON.stringify's "Maximum call stack size exceeded", by serializing only the attributes of the model