Correct handling of JSON values. Only get methods.