Parse and serialize multiple prompts

TNL-708
Fixed xml tests.

TNL-708:wq
Added tests for prompts field.

TNL-708