data-target-args input validation

If JSON.parse succeeds but the value is not an object then the page
load will fail. For example if data-target-args === 'false',
JSON.parse("false") === false, which is an invalid page argument.