I got a scenario.
Required input and output are JSON.
// Input { \"OldObject\": { \"Time\": 1351
You can use ZORBA and JsonIQ http://www.jsoniq.org/ However, it's a native library, it comes with a wrapper so you can use it in java.