Rewrite list creation as a list literal

Do that if it makes sense

Change-Id: Ib59e2482985c6b7bd2018648b74d829e67c76a99
Merge "Rewrite list creation as a list literal"