fix improper __setattr__ usage in Struct that collides with OrderedDict
fix automatic macro import in the jinja2 filter
don't paginate-and-overwrite if pagination is set to `None`