Fixed MdForm API to return flattened MdFields recursively.