Json for java in one class