title: Send object using json
body: <p>Is there a recommended way of sending an object using json between a server and a client ?
  Should I use only lower case for properties, should I use an object or an array ?</p>
  
  <p>Update: this question came to me because by default php is encoding an associative array as an object ( after you decode it)</p>