Trying get method with json