What is this for? The examples given could be handled deterministically. Is this for situations where you don't know JSON schemas in advance? What situations are those?
If instead of transforming a single object it would output a table of src_field->dst_field, it could potentially be a useful first pass in some ETL development.