split on first curly brace instead of newline

Compressed files don't have newlines... doh!