Yes, this is a very good hack that allows you to process JSON types entirely client side without making the API call. Still a pain in the ass but marginally better.
Essentially, you have a plugin element, stick the JSON in there, make the plugin element return your API (data) type, and then you can use it.