Serialize extra_vars as json

Now complex extra-vars can be passed to ansible. For example, arrays:

```
extra_vars:
  my_var:
    - 1
    - 2
```