Observer: bugfix, add JSON library