use ordereddict as fallback
better handling of quotes and code literals