moved all the code from JsonTranformer into sparkler for release v0.0.2