Several additions to Json API (added new methods fixed some bugs and so
on)...