Support JSON in --extra-vars.

If --extra-vars starts with either a '{' or a '[', it will be assumed
we are dealing with JSON and parse the data as such.
Merge pull request #3040 from bfabio/devel

Support JSON in --extra-vars.