Java and .NET Refactor with JSON message working