Added instance methods to json elasticsearch