Can you remove first curly new lines and last curly new lines if there are any? :)