App bugs fixed for the JSON API