Fix for performance degradation due to minimal indentation

Changed output to an array of OutputLine objects

Fixes #288