Support end curly brace in post metadata fields

By expecting the closing `}` to be the first character on a line, this PR enables support for curly braces in post metadata when using the "JSON"-style format.