Fix string and sub object assignments.