API action component - JSON data not taking dynamic data

Wappler Version : 2.6.4
Operating System : Mac OSX Catalina 10.15.3

I think this might have broken from v2.5.6 (Wappler 2.5.6 Released).

JSON data stopped taking dynamic data when using data picker, as there is some validation introduced in it.

Ideally, the JSON validation should be applied only with the below dialog when the type is chosen as JSON (dropdown) or a JSON is pasted in and its automatically identified as JSON: