Perform all parsing before encoding