Removes keys from elements of literal value and inserts omitted elements.