Refactored communication. Use json to define a bundle to send