Fix string parsing in Property & Element objects