Part 4: Improve generated rest resources. Generate stub rest actions.

Why not java `Arrays.asList()`?