Add another parameter "flatten" to get all changes or pre-flatten them server-side