don't add any line breaks when serializing views; support calling register again on the same view name while caching references to the found view