Avoid error where 1st character is {, and last is not }