Construct Json tree in Play.