Set JSON content properly