strip newlines from aws policy