I've written an SS1 RESTlet that takes JSOn and creates an transaction / entity its' certainly not beyond me to do the opposite. In fact I wrote a couple scripts a few weeks back that convert Matrix parent / child items to regular inventory items but that's quite specific