resolveAnchors(json) {
        return resolve(HassAnchor.TYPE.ANCHOR, json);
    }
Resolve anchors in provided JSON object. If one or more anchors cannot be resolved, returns null.
If all anchors are resolved, returns the JSON object with all anchors replaced with their respective values.

@public
@static
@param {object} json
@return {object|null}