We’re working on providing a BCS to JSON and vice-versa serialization / deserialization interface to make it easier for languages that do not have BCS support to work with transactions.
See issue #13483 on GitHub and feel free to add in that issue any comments/feedback you have.