Parse stack_adopt_data

The patch parses the argument passed to stack_create, and validates that
it's a dictionary, preventing engine failures in the future.

Closes-Bug: #1277106
Change-Id: I88cbf933ddac5776d5ffc0151bc7a0b296048777
Merge "Parse stack_adopt_data"