Moved command line parameters string generation to a separate file with tests.
Fix for nested parameters string generation (i.e. placeholders).