FIX: NeDB wasn't inserting the models since React deepends them. Now
converting to shallow before insertion.