fixed json result, added missing methods to interface